#include "Rational.cpp"
int main()
{
    Rational a=Rational(4,6);
    Rational b=Rational(2,4);
    Rational c=Rational(13,3);
    Rational d=Rational(11,8);
    Rational e=Rational(1,4);
    Rational f=Rational();
    Rational g;
    Rational s[100];
    s[0]=a;
    s[1]=b;
    s[2]=c;
    s[3]=d;
    s[4]=e;
    s[5]=f;
    sirRational sir=sirRational(s);
    sir.afiseaza();
    cout<<endl<<"Suma sirului este:"<<sir.suma()<<endl<<endl;
    sir.ireductibil();
    cout<<"Sirul ireductibil este:"<<endl;
    sir.afiseaza();
    sir.ordonare();
    cout<<endl<<"Sirul ordonat este:"<<endl;
    sir.afiseaza();
    return 0;
}
